package com.mida.dms.knw.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.mida.dms.knw.entity.KnwCommonWordsTree;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zangjian
 * @Description:
 * @Date: 2021/6/29 0:01
 * @params:
 */
@Data
public class CommonWordsTreeDto implements Serializable {
    @ApiModelProperty(value = "上级常用语树形分类标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long surperCommonWordsTreeSoid;

    @ApiModelProperty(value = "常用语树形分类标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long commonWordsTreeSoid;

    @ApiModelProperty(value = "常用语树形分类名称")
    private String commonWordsTreeName;

    @ApiModelProperty(value = "序号")
    private Short serialNo;

    @ApiModelProperty(value = "启用状态")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long status;

    @ApiModelProperty(value = "子节点集合")
    private List<KnwCommonWordsTree> knwCommonWordsTrees;

    @ApiModelProperty(value = "分享")
    private Short isShare;
}
